//
//  NSObject+Message.h
//  DS_PJ_01
//
//  Created by admin on 16/8/17.
//  Copyright © 2016年 zhiqiyun. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSObject(Message)


#pragma mark ------- toast(纯Label提醒文字)--------
/*
 @param: message    - 提示的文字
 @param: time       - 存在时间,默认是2
 @param: top        - 在屏幕上显示的高度,默认距离底部100
 @param: superView  - 父视图,不传则默认在当前的window上
 */
+(void)showAlertMessage:(NSString *)message;

+(void)showAlertMessage:(NSString *)message time:(CGFloat)time;

+(void)showAlertMessage:(NSString *)message top:(CGFloat)top;

+(void)showAlertMessage:(NSString *)message time:(CGFloat)time top:(CGFloat)top superView:(UIView *)superView;


/*
 @Method:获取当前显示的ViewController
 */
-(UIViewController *)getCurrentController;


@end
